-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here

-- Autoformat
-- vim.g.autoformat = true

local opt = vim.opt

opt.clipboard = "unnamed" -- Sync with system clipboard

--浮动终端
vim.cmd([[
  let g:floaterm_opener = 'tabe'
  let g:floaterm_height = 0.8
  let g:floaterm_width = 0.8
]])

-- Markdwon Snippets
vim.cmd("source $HOME/.config/nvim/lua/require/md-snippets.vim")

-- 自动格式化
vim.g.autoformat = false
